package com.java.teste;

import static org.junit.Assert.*;

import org.junit.Test;

import com.java.classe.Calculadora;

public class CalculadoraTest {
	Calculadora cal = new Calculadora();
	@Test public void testSoma(){
		assertEquals("Deveria retornar", 4, cal.somar(2, 2));
		assertEquals("Deveria retornar", 0, cal.somar(2, -2));
		assertEquals("Deveria retornar", 6, cal.somar(3, 3));
		
		
	}
	

}
